package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.entity.User;
import com.example.domain.entity.dto.UserInfoDto;
import com.example.exception.FloraException;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2022-11-21 20:19:12
 */
public interface UserService extends IService<User> {
    UserInfoDto getUserInfoById(Long id);
    UserInfoDto getUserInfo();
    UserInfoDto getSeller(String name);
    UserInfoDto getSellerById(Long id);
    void registerUser(User user) throws FloraException;

    void updateUserInfo(User user) throws FloraException;

    void blockUser(User user);
    void editUserInfo(User user) throws FloraException;


}

